<?php
namespace catchAdmin\stock\model\search;

trait InventorySearch
{
    public function searchInventoryIdAttr($query, $value, $data)
    {
        return $query->whereLike('inventory_id', $value);
    }
}